import Home from "../views/home/Home.vue";

// 用户管理
import UserList from "../views/user-manage/UserList.vue"

// 权限管理
import RoleList from "../views/right-manage/RoleList.vue"
import RightList from "../views/right-manage/RightList.vue"

// 题库管理
import questionList from "../views/know-manage/questionlist.vue"
import wronglist from "../views/know-manage/wronglist.vue"
import search from "../views/know-manage/search.vue"
// 字典管理
import dictlist from "../views/dict-manage/dictlist.vue"

const routes = [
    {
        path:"/index",
        component:Home
    },
    {
        path:"/user-manage/list",
        component:UserList
    },
    {
        path:"/right-manage/rolelist",
        component:RoleList
    },
    {
        path:"/right-manage/rightlist",
        component:RightList
    },
    {
        path:"/know-manage/questionlist",
        component:questionList
    },
    {
        path:"/know-manage/wronglist",
        component:wronglist
    },
    {
        path:"/know-manage/search",
        component:search
    },
    {
        path:"/dict-manage/dictlist",
        component:dictlist
    }
]

export default routes;